package ${package.Mapper};

import com.baomidou.mybatisplus.core.metadata.IPage;
import ${cfg.QueryConditionDTO};
import org.apache.ibatis.annotations.Param;
import java.util.List;
import ${package.Entity}.${entity};
import ${package.Entity}.${entity}PageDO;
import ${package.Entity}.${entity}ListDO;
import ${cfg.dtoPackage}.${entity}PageDTO;
import ${cfg.dtoPackage}.${entity}ListDTO;
import ${cfg.dtoPackage}.${entity}DTO;
import ${superMapperClassPackage};

/**
 * <p>
 * ${table.entityPath!} Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {

    /**
    * 自定义分页
    */
    IPage<${entity}PageDO> getPageList(IPage<${entity}PageDO> page, @Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") ${entity}PageDTO pageDTO);

    /**
    * list
    */
    List<${entity}ListDO> getList(@Param("queryCondition") List<QueryConditionDTO> queryConditions, @Param("param") ${entity}ListDTO param);

}
</#if>
